<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>身份认证 - <?php echo $cfg_webname; ?></title>
<link href="templets/style/css/reset.css" rel="stylesheet" type="text/css">
<link href="templets/style/css/member.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="templets/js/j.js"></script>
<script type="text/javascript" src="templets/js/load.js"></script>
<script type="text/javascript">  
function checkSubmit()
{
	if(document.form2.zuname.value=='')
	{
		document.form2.zuname.focus();
		alert("真实姓名不能为空！");
		return false;
	}
	if(document.form2.utel.value=='')
	{
		document.form2.utel.focus();
		alert("手机号码不能为空！");
		return false;
	}
	if(document.form2.uqq.value=="")
	{
		document.form2.uqq.focus();
		alert("QQ号码不能为空！");
		return false;
	}
	if(document.form2.usfz.value=="")
	{
		document.form2.usfz.focus();
		alert("身份证号码不能为空！");
		return false;
	}
	if(document.form2.usfzzp.value=="")
	{
		document.form2.usfzzp.focus();
		alert("请上传身份证正面照！");
		return false;
	}
	if(document.form2.uzfb.value=="")
	{
		document.form2.uzfb.focus();
		alert("支付宝不能为空！");
		return false;
	}
}
</script>
</head>
<body>

<!--head-->
<?php include(DEDEMEMBER. "/templets/head.htm"); ?>

<div class="main">

<?php include(DEDEMEMBER."/templets/menu.php"); ?> 
<script>
	$(function(){
		var ids = $('#8');
		var span  = ids.find('.icons');
		var name = span.attr('class');
		var newName = name.replace(/(\S+)$/,'$1_h');
		span.addClass(newName);
		span.parent('a').addClass('cur');
	})
</script>
<div class="main_right">

<div class="zhsz_title">
<a href="edit_fullinfo.php">基本资料</a><a href="edit_baseinfo.php">密码修改</a><a href="edit_face.php">头像设置</a><a href="certification.php" class="cur">实名认证</a>
</div>

      <div class="mb_czfrom2 mb_czfrom2-new sqtx rz"> 
       <div class="rz-msg <?php echo $rz_style;?>-rz"><?php echo $rz_msg;?></div>
       <div class="edit" style="text-align:center;margin-bottom:10px;padding-bottom:20px;border-bottom:1px dotted #ccc;font-size:16px;">如需更改资料，可直接修改</div>
       <div class="rz-t"><h1>实名资料：</h1><p>必须使用本人真实身份信息，否则将无法通过审核，并且导致提现失败。</p></div>
       <form action="certification_edit.php" method="post" enctype="multipart/form-data" name="form2" onsubmit="return checkSubmit();"> 
       <input type="hidden" name="dopost" value="edit" /> 
        <input type="hidden" name="type" value="sfrz" /> 
        <input type="hidden" name="oldusfzzp" value="<?php echo $row['sfzzp'];?>" /> 
          <div class="rz-list-fomt">
            <ul>
               <li><label class="tx-ti">用户名：</label><?php echo $cfg_ml->M_LoginID; ?></li>
               <li><label class="tx-ti">真实姓名：</label><input type="text" name="zuname" class="tx-shue" value="<?php echo $row['zuname'];?>" placeholder="真实姓名" /><span><i>*</i>必须填写真实姓名</span></li>
               <li><label class="tx-ti">手机号码：</label><input type="text" name="utel" class="tx-shue" value="<?php echo $row['utel'];?>" placeholder="手机号码" /><span><i>*</i>请填写真实的手机号码，便于接收汇款短信</span></li>
               <li><label class="tx-ti">QQ号码：</label><input type="text" name="uqq" class="tx-shue" value="<?php echo $row['uqq'];?>" placeholder="QQ号码" /><span><i>*</i>请填写真实的QQ号码，便于和您取得联系</span></li>
               <li><label class="tx-ti">身份证号：</label><input type="text" name="usfz" class="tx-shue" value="<?php echo $row['usfz'];?>" placeholder="身份证号" /><span><i>*</i></span></li>
               <li><label class="tx-ti">身份证照：</label><input type="file" name="usfzzp" class="tx-shue" /><span><i>*</i>您可以在不遮挡证件信息的情况下给证件加上水印</span><p class="sfz-sm">身份证正面照支持JPG、GIF、PNG等格式，1M以内。</p></li>
               <div class="rz-t" style="margin:10px 0 20px;"><h1>收款账号：</h1><p>收款账户的开户人必须是您本人，否则将导致提现失败，有支付宝账户的，默认提现至支付宝。</p></div>
               <li><label class="tx-ti">支付宝：</label><input type="text" name="uzfb" class="tx-shue" value="<?php echo $row['uzfb'];?>" placeholder="支付宝" /><span><i>*</i>默认提现至支付宝</span></li>
            </ul>
          </div>
          
        <div class="bor-b"></div>
        <div class="sub-pk">
        	<input class="submit_buttonn" value="提交信息" type="submit"> 
        </div>
       </form> 
      </div> 

</div>

</div>

<!--footer-->
<?php include(DEDEMEMBER. "/templets/footer.htm"); ?>

<script>
	//左边导航
	var as = document.querySelectorAll('.left_menu a');
	var spans = document.querySelectorAll('.left_menu .icons');
	for(var i=0,len=as.length;i<len;i++){
		
		spans[i].clazz = spans[i].className;
		as[i].index = i;
		as[i].onmouseenter = mouseenterHandler;
		as[i].onmouseleave = mouseleaseHandler;
	}
	function mouseleaseHandler(e){
		spans[this.index].className = spans[this.index].clazz;
	}
	
	//左右等高布局
	var main_left = document.querySelector('.main_left');
	var main_right = document.querySelector('.main_right');
	if(main_left.offsetHeight<main_right.offsetHeight){
		main_left.style.height = main_right.offsetHeight + 'px';
	}
</script>

</body>
</html>